package org.langqiao.network;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class IP {
	public static void main(String[] args) throws UnknownHostException {
		InetAddress local = InetAddress.getLocalHost();
		String str = local.getHostAddress();
		System.out.println(str);
	}

}
